﻿// -----------------------------------------------------------------------
// <copyright file="Unit_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Unit_BLL
    {

        public static List<StockUnit> GetAll(int shipID)
        {
            return Unit_DAL.GetAll(shipID);
        }
        public static bool Insert(StockUnit StockUnit)
        {
            return Unit_DAL.Insert(StockUnit);
        }
        public static bool Update(StockUnit StockUnit)
        {
            return Unit_DAL.Update(StockUnit);
        }
        public static bool Delete(StockUnit StockUnit)
        {
            return Unit_DAL.Delete(StockUnit);
        }
        public static bool IsRelationship(StockUnit stockUnit)
        {
            return Unit_DAL.IsRelationship(stockUnit);
        }
        public static bool IsExits(StockUnit stockUnit)
        {
            return Unit_DAL.IsExits(stockUnit);
        }

    }
}
